package com.daocheng.weblog.web.model.vo.article;

import com.daocheng.weblog.web.model.vo.category.FindCategoryListRspVO;
import com.daocheng.weblog.web.model.vo.tag.FindTagListRspVO;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName FindIndexArticlePageListRspVO
 * @author: 稻城
 * @date: 2025/3/12
 * @Version 1.0
 * @description: TODO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FindIndexArticlePageListRspVO {
    private Long id;
    private String cover;
    private String title;
    private LocalDate createDate;
    private String summary;
    /**
     * 文章分类
     */
    private FindCategoryListRspVO category;

    /**
     * 文章标签
     */
    private List<FindTagListRspVO> tags;
}
